package com.example.mapper;

import com.example.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: springboot_course
 * @description:
 * @author: ChenZhiXiang
 * @create: 2019-06-12 17:27
 **/

public interface UserMapper {

    void delete(@Param("id") Integer id);

    User update(User user);

    User findById(@Param("id") Integer id);

    List<User> getUserList();

    int save(User user);
}
